
package herguan.expertadvise.web.struts.form;

/**
 * @author Nidhi Pandya
 *
 */
import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class RatingsForm extends ActionForm {

	private String action = "add";
	private String userid = null;
	private String rating = null;
	private String ratingStatus = null;
	private  String question= null;
	private String answer= null;
	private String providername= null;
	private String questionid=null;
	private String submitedanswer= null;




public void reset(ActionMapping mapping, HttpServletRequest request) {
	this.userid = null;
	this.rating = null;
	this.action = "add";
}

public ActionErrors validate(ActionMapping mapping,
		HttpServletRequest request) {
		ActionErrors errors = new ActionErrors();
     	return errors;
}

public String getAction() {
	return action;
}

public void setAction(String action) {
	this.action = action;
}

public String getUserid() {
	return userid;
}

public void setUserid(String userid) {
	this.userid = userid;
}

public String getRating() {
	return rating;
}

public void setRating(String rating) {
	this.rating = rating;
}

public String getRatingStatus() {
	return ratingStatus;
}

public void setRatingStatus(String ratingStatus) {
	this.ratingStatus = ratingStatus;
}

public String getQuestion() {
	return  question;
}

public void setQuestion(String question) {
	this.question = question;
}
public String getAnswer() {
	return answer;
}

public void setAnswer(String answer) {
	this.answer = answer;
}
public String getProvidername() {
	return providername;
}

public void setProvidername(String providername) {
	this.providername = providername;
}
public String getQuestionid() {
	return questionid;
}

public void setQuestionid(String questionid) {
	this.questionid = questionid;
}
public String getSubmitedanswer() {
	return submitedanswer;
}

public void setSubmitedanswer(String submitedanswer) {
	this.submitedanswer = submitedanswer;
}
}

